package com.ellwood.framework.config;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @ProjectName: Ellwood-framework-boot
 * @PackageName: com.ellwood.framework.config
 * @ClassName: RestTemplateConfig
 * @Description: // RestTemplateConfig配置
 * @Author: Ellwood
 * @CreateDate: 2024/7/23 - 上午11:39
 * @Version: V1.0.0
 */
@Configuration
public class RestTemplateConfig {

    @Bean
    @LoadBalanced
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }

}
